<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>MOROS Colors</title>
    <link rel="stylesheet" type="text/css" href="moros.css">
  </head>
  <body>
    <h1>MOROS Colors</h1>

    <p>MOROS operates in 80x25 VGA text mode and supports standard ANSI escape
sequences for color manipulation.</p>

    <p>There are 8 dark and 8 bright colors:</p>

    <pre><code>+--------+--------+--------+--------+--------+--------+--------+--------+
| Black  | Maroon | Green  | Olive  | Navy   | Purple | Teal   | Silver |
| (30)   | (31)   | (32)   | (33)   | (34)   | (35)   | (36)   | (37)   |
+--------+--------+--------+--------+--------+--------+--------+--------+
| Gray   | Red    | Lime   | Yellow | Blue   | Fushia | Aqua   | White  |
| (90)   | (91)   | (92)   | (93)   | (94)   | (95)   | (96)   | (97)   |
+--------+--------+--------+--------+--------+--------+--------+--------+
</code></pre>

    <p>The control sequence <code>CSI n m</code> can be used to print a text in color:</p>

    <pre><code>&gt; print &quot;\e[93mYellow\e[m&quot;
Yellow
</code></pre>

    <p>The background color can also be changed by adding 10 to the color code. It is
possible to change both at the same time:</p>

    <pre><code>&gt; print &quot;\e[93;46mYellow on teal\e[m&quot;
Yellow on teal
</code></pre>

    <p>The values of the colors can be customized.</p>

    <p>After its installation MOROS will run <code>/ini/palettes/gruvbox-dark.sh</code> at the
end of each boot to load a Gruvbox color palette by default.</p>

    <p>It is possible to change this behavior by editing <code>/ini/boot.sh</code>.</p>
  <footer><p><a href="/">MOROS</a></footer>
  </body>
</html>
